<?php
//	$id_sim
//	$id_thanhvien
//	$id_donhang

$CI = &get_instance();
$CI->load->model('main_model');
$CI->db->where('id', $id_thanhvien);
$query = $CI->db->get('tbl_thanhvien');
$thanhvien = $query->row();

$sim = $CI->main_model->get_chitietsim($id_sim);
?>
<form method="post">
<table width="100%">
	<tr>
    	<td>Số tiền đặt cọc:</td><td><input type="text" name="sotiendatcoc"/></td>
	</tr>
    <tr>
    	<td>Họ tên: </td><td><input type="text" name="hoten" value="<?=$thanhvien->hoten?>"/></td>
    </tr>
    <tr>
    	<td>Điện thoại: </td><td><input type="text" name="dienthoai" value="<?=$thanhvien->sodienthoai?>"/></td>
    </tr>
    <tr>
    	<td>Email:</td><td><input type="text" name="email" value="<?=$thanhvien->email?>"/></td>
    </tr>
    <tr>
    	<td>Địa chỉ:</td><td><input type="text" name="diachi" value="<?=$thanhvien->diachi?>"/></td>
    </tr>
    <tr>
    	<td>Ghi chú:</td><td><textarea name="ghichu" rows="10">tài khoản: <?=$thanhvien->taikhoan?></textarea></td>
    </tr>
    <tr>
    	<td colspan="2" align="center">
        	<input type="submit" name="submit" value="Đồng ý"/>
        </td>
    </tr>
</table>
</form>